﻿using System;
namespace DB.Model
{
	/// <summary>
	/// SPort:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class SPort
	{
		public SPort()
		{}
		#region Model
		private int _id;
		private string _name;
		private int? _baudrate;
		private int? _parity;
		private int? _databits;
		private int? _stopbits;
		private int? _encoding;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? BaudRate
		{
			set{ _baudrate=value;}
			get{return _baudrate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Parity
		{
			set{ _parity=value;}
			get{return _parity;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? DataBits
		{
			set{ _databits=value;}
			get{return _databits;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? StopBits
		{
			set{ _stopbits=value;}
			get{return _stopbits;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Encoding
		{
			set{ _encoding=value;}
			get{return _encoding;}
		}
		#endregion Model

	}
}

